﻿
<table style="height :180px;width:100%;" cellpadding="0" cellspacing="0">

	<tr>
		<td style="width:65%; border-right:1px #ccc solid;" valign="top">

<table style="height :180px;width:100%;" cellpadding="0" cellspacing="0">
    <tr><td style="height:80px;vertical-align:top;">
        <div class="sectionToolbar">
		    <a href="#{imgPostAddUrl}&width=120&height=90" class="frmBox" xwidth="800">+:{addPicPost}</a>
		    <a href="#{imgPostListUrl}" class="frmBox" xwidth="800">_{all}</a> 
		</div>
        <div style="margin:5px;"><!-- BEGIN img -->
            <img src="#{ipost.ImgUrl}" style="float:left;margin-right:5px;width:#{ipost.Width}px;height:#{ipost.Height}px;" />
            <p><strong>#{ipost.Title}</strong><br />
            #{ipost.Content} <a href="#{ipost.EditLink}" class="frmBox edit" xwidth="800"><img src="~img/edit.gif" />_{edit}</a>  </p>
            <!-- END img -->
            <div class="clear"></div>
        </div>    
    </td></tr>
    <tr><td style="height:100px; vertical-align:top;">
        <div class="sectionToolbar">
		    <a href="#{postAddUrl}" class="frmBox" xwidth="800">+:{addPost}</a> 
		    <a href="#{postListUrl}" class="frmBox" xwidth="800">_{all}</a>    
        </div>

		<ul style="margin:5px;">
			<!-- BEGIN list -->
			<li><a href="#{post.Url}" class="frmBox" xwidth="800" title="#{post.TitleFull}" style="#{post.TitleCss}">#{post.Title}</a></li>
			<!-- END list -->
		</ul>

    </td></tr>
</table>

		
		</td>
		<td style="padding:0px; vertical-align:top;">		
		<div class="sectionToolbar"><a href="#{imgAddUrl}&width=120&height=90" class="frmBox" xwidth="800">+:{addPic}</a> 
		    <a href="#{imgListUrl}" class="frmBox" xwidth="800">_{all}</a>
</div>
		
		<!-- BEGIN imgs -->
		<div style="text-align:center; float:left; margin:10px;"><a href="#{img.Url}" class="frmBox" xwidth="800"><img src="#{img.Thumb}" style="width:#{img.Width}px;width:#{img.Height}px;" /></a><br/>
		<a href="#{img.Url}" class="frmBox" xwidth="800" title="#{img.TitleFull}" style="#{img.TitleCss}">#{img.Title}</a></div>
		<!-- END imgs -->		
		</td>
	</tr>
</table>
